Make sure GPG keys are usable when composing non-MIME messages (bug#8955).
authorDaiki Ueno <ueno@unixuser.org>
Thu, 4 Aug 2011 06:55:53 +0000 (15:55 +0900)
committerDaiki Ueno <ueno@unixuser.org>
Thu, 4 Aug 2011 06:55:53 +0000 (15:55 +0900)
commitc432682decb5b0580a1ca650f0b3a5d710b91644
tree45fea8cd2874d156b882212210f155f83c4d128c
parent4e570317f0daaef630d46939108785d38ee6aea7
Make sure GPG keys are usable when composing non-MIME messages (bug#8955).

* mml1991.el (mml1991-epg-find-usable-key)
(mml1991-epg-find-usable-secret-key): New function.
(mml1991-epg-sign): Check if signing key is usable.
(mml1991-epg-encrypt): Check if encrypting key is usable (bug#8955).
lisp/gnus/ChangeLog
lisp/gnus/mml1991.el